home *** CD-ROM | disk | FTP | other *** search
Makefile | 1999-05-17 | 10.6 KB | 365 lines | [TEXT/MPS ] |
- #
- # File: MakeFile
- #
- # Contains: Build rules for SBP-2 sample code
- #
- # Version: 1.0
- #
- # Copyright: © 1998 by Apple Computer, Inc., all rights reserved.
- #
- # File Ownership:
- #
- # DRI: Eric Anderson
- #
- # Other Contact:
- #
- # Technology: FireWire
- #
- # Writers:
- #
- # (DCB) Clinton Bauder
- # (EA) Eric Anderson (ewa)
- #
- # Change History (most recent first):
- #
- # <FW4> 12/19/98 DCB More cleanup for SDK.
- # <FW3> 12/18/98 DCB Add disk driver.
- # <FW2> 9/20/98 EA Filled in header comments.
- # <FW1> 9/20/98 EA first checked in
- #
-
-
- ################################################################################
- #
- # Define some directories
- #
-
- SBP2RootDir = :
-
- FWSampleDir = {SBP2RootDir}::
-
- FWInterfaces = {FWSampleDir}Interfaces:
- FWLibraries = {FWSampleDir}Libraries:
- SBP2Interfaces = {SBP2RootDir}Interfaces:
-
- FWSBP2DriverDir = {SBP2RootDir}FWSBP2Driver:
- FWSBP2DiskDriverDir = {SBP2RootDir}FWSBP2DiskDriver:
- SampleSBP2FamilyDir = {SBP2RootDir}SampleSBP2Family:
- SBP2DemoAppDir = {SBP2RootDir}SBP2DemoApp:
-
- BuildResultsDir = {FWSampleDir}BuildResults:
- ObjectsDir = {BuildResultsDir}Objects:
- ApplicationsDir = {BuildResultsDir}Applications:
- ExtensionsDir = {BuildResultsDir}Extensions:
- LibsDir = {BuildResultsDir}Libraries:
-
- ################################################################################
- #
- # Define version info
- #
-
- FWVersion = 1
- FWRevision = 3
- FWBuildStage = development
- FWBuildNumber = 1
- FWShortVersionString = '"1.3d1"'
- FWLongVersionString = '"1.3d1, © 1995-98 Apple Computer, Inc."'
-
-
- ################################################################################
- #
- # Define stuff for PowerPC compilation
- #
-
- MrCOptions = -opt speed ∂
- -w 2,7,35 ∂
- -d TRUE=1 ∂
- -d FALSE=0 ∂
- -i "{CIncludes}"
-
- CPPCOptions = {MrCOptions}
-
- AsmPPC = PPCAsm
-
- AsmPPCOptions = -dialect PowerPC ∂
- -o {Targ}
-
- CPPC = MrC
-
- LinkPPC = PPCLink
-
-
- ################################################################################
- #
- # Define stuff for rez
- #
-
- RezOptions = -d FWVersion={FWVersion} ∂
- -d FWRevision={FWRevision} ∂
- -d FWBuildStage={FWBuildStage} ∂
- -d FWBuildNumber={FWBuildNumber} ∂
- -d FWShortVersionString={FWShortVersionString} ∂
- -d ETO_BUILD=1 ∂
- -d FWLongVersionString={FWLongVersionString}
-
-
- ################################################################################
- #
- # Sample SBP2 family library.
- #
-
- "{ObjectsDir}SampleSBP2Family.c.o" ƒ ∂
- "{SampleSBP2FamilyDir}SampleSBP2Family.c" ∂
- "{SBP2Interfaces}SampleSBP2.h" ∂
- "{SBP2Interfaces}SampleSBP2Priv.h" ∂
- "{SampleSBP2FamilyDir}SampleSBP2Expert.h"
- {CPPC} ∂
- "{SampleSBP2FamilyDir}SampleSBP2Family.c" ∂
- -i "{FWInterfaces}" ∂
- -i "{SBP2Interfaces}" ∂
- -i "{SampleSBP2FamilyDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}SampleSBP2Family" ƒƒ ∂
- "{ObjectsDir}SampleSBP2Family.c.o" ∂
- "{SampleSBP2FamilyDir}SampleSBP2Family.exp"
- {LinkPPC} ∂
- -t 'shlb' ∂
- -c 'SSBP' ∂
- -xm sharedlibrary ∂
- -share global ∂
- -w ∂
- -init InitializeSBPFamily ∂
- -term TerminateSBPFamily ∂
- -@export "{SampleSBP2FamilyDir}SampleSBP2Family.exp" ∂
- "{ObjectsDir}SampleSBP2Family.c.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}DriverServicesLib" ∂
- "{SharedLibraries}NameRegistryLib" ∂
- "{SharedLibraries}DriverLoaderLib" ∂
- "{FWLibraries}GenericDriverFamily" ∂
- "{PPCLibraries}PPCCRuntime.o" ∂
- -o {Targ}
-
- "{ExtensionsDir}SampleSBP2Family" ƒƒ ∂
- "{SampleSBP2FamilyDir}SampleSBP2Family.r" ∂
- "{SBP2RootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{SampleSBP2FamilyDir}SampleSBP2Family.r" ∂
- -a ∂
- -o {Targ}
-
- "{LibsDir}SampleSBP2Family" ƒƒ ∂
- "{ExtensionsDir}SampleSBP2Family"
- Duplicate ∂
- -y ∂
- "{ExtensionsDir}SampleSBP2Family" ∂
- {Targ}
-
- "{ObjectsDir}SampleSBP2Expert.c.o" ƒ ∂
- "{SampleSBP2FamilyDir}SampleSBP2Expert.c" ∂
- "{SBP2Interfaces}SampleSBP2.h" ∂
- "{SBP2Interfaces}SampleSBP2Priv.h"
- {CPPC} ∂
- "{SampleSBP2FamilyDir}SampleSBP2Expert.c" ∂
- -i "{FWInterfaces}" ∂
- -i "{SBP2Interfaces}" ∂
- -i "{SampleSBP2FamilyDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}SampleSBP2Expert" ƒƒ ∂
- "{ObjectsDir}SampleSBP2Expert.c.o" ∂
- "{SampleSBP2FamilyDir}SampleSBP2Expert.exp" ∂
- "{LibsDir}SampleSBP2Family"
- {LinkPPC} ∂
- -t 'gdfx' ∂
- -c 'SSBP' ∂
- -xm sharedlibrary ∂
- -share global ∂
- -w ∂
- -term SBPExpertTerminate ∂
- -@export "{SampleSBP2FamilyDir}SampleSBP2Expert.exp" ∂
- "{ObjectsDir}SampleSBP2Expert.c.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}DriverServicesLib" ∂
- "{SharedLibraries}NameRegistryLib" ∂
- "{LibsDir}SampleSBP2Family" ∂
- "{PPCLibraries}PPCCRuntime.o" ∂
- -o {Targ}
-
- "{ExtensionsDir}SampleSBP2Expert" ƒƒ ∂
- "{SampleSBP2FamilyDir}SampleSBP2Expert.r" ∂
- "{SBP2RootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{SampleSBP2FamilyDir}SampleSBP2Expert.r" ∂
- -a ∂
- -o {Targ}
-
- SampleSBP2Family ƒ ∂
- "{ExtensionsDir}SampleSBP2Family" ∂
- "{LibsDir}SampleSBP2Family" ∂
- "{ExtensionsDir}SampleSBP2Expert"
-
-
- ################################################################################
- #
- # FireWire sample SBP2 driver
- #
-
- "{ObjectsDir}FWSBP2Driver.c.o" ƒ ∂
- "{FWSBP2DriverDir}FWSBP2Driver.c" ∂
- "{FWInterfaces}FireWire.h" ∂
- "{FWInterfaces}FireWireSBP2.h" ∂
- "{FWSBP2DriverDir}FWSBP2Driver.h"
- {CPPC} ∂
- "{FWSBP2DriverDir}FWSBP2Driver.c" ∂
- -i "{FWInterfaces}" ∂
- -i "{SBP2Interfaces}" ∂
- -i "{FWSBP2DriverDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}FWSBP2Driver" ƒƒ ∂
- "{ObjectsDir}FWSBP2Driver.c.o" ∂
- "{FWSBP2DriverDir}FWSBP2Driver.exp"
- {LinkPPC} ∂
- -t 'ndrv' ∂
- -c 'fw ' ∂
- -xm sharedlibrary ∂
- -w ∂
- -@export "{FWSBP2DriverDir}FWSBP2Driver.exp" ∂
- "{ObjectsDir}FWSBP2Driver.c.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}NameRegistryLib" ∂
- "{SharedLibraries}DriverServicesLib" ∂
- "{SharedLibraries}PCILib" ∂
- "{FWLibraries}FWServicesLib" ∂
- "{PPCLibraries}PPCCRuntime.o" ∂
- "{SharedLibraries}MathLib" ∂
- -o {Targ}
-
- "{ExtensionsDir}FWSBP2Driver" ƒƒ ∂
- "{FWSBP2DriverDir}FWSBP2Driver.r" ∂
- "{SBP2RootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{FWSBP2DriverDir}FWSBP2Driver.r" ∂
- -a ∂
- -o {Targ}
-
-
- FWSBP2Driver ƒ ∂
- "{ExtensionsDir}FWSBP2Driver"
-
-
- ################################################################################
- #
- # FireWire sample SBP2 disk driver
- #
-
- "{ObjectsDir}FWSBP2DiskDriver.c.o" ƒ ∂
- "{FWSBP2DiskDriverDir}FWSBP2DiskDriver.c" ∂
- "{FWInterfaces}FireWire.h" ∂
- "{FWInterfaces}FireWireSBP2.h" ∂
- "{FWSBP2DiskDriverDir}FWSBP2DiskDriver.h"
- {CPPC} ∂
- "{FWSBP2DiskDriverDir}FWSBP2DiskDriver.c" ∂
- -i "{FWInterfaces}" ∂
- -i "{SBP2Interfaces}" ∂
- -i "{FWSBP2DiskDriverDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}FWSBP2DiskDriver" ƒƒ ∂
- "{ObjectsDir}FWSBP2DiskDriver.c.o" ∂
- "{FWSBP2DiskDriverDir}FWSBP2DiskDriver.exp"
- {LinkPPC} ∂
- -t 'ndrv' ∂
- -c 'fw ' ∂
- -xm sharedlibrary ∂
- -w ∂
- -@export "{FWSBP2DiskDriverDir}FWSBP2DiskDriver.exp" ∂
- "{ObjectsDir}FWSBP2DiskDriver.c.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}NameRegistryLib" ∂
- "{SharedLibraries}DriverServicesLib" ∂
- "{SharedLibraries}PCILib" ∂
- "{FWLibraries}FWServicesLib" ∂
- "{PPCLibraries}PPCCRuntime.o" ∂
- "{SharedLibraries}MathLib" ∂
- -o {Targ}
-
- "{ExtensionsDir}FWSBP2DiskDriver" ƒƒ ∂
- "{FWSBP2DiskDriverDir}FWSBP2DiskDriver.r" ∂
- "{SBP2RootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{FWSBP2DiskDriverDir}FWSBP2DiskDriver.r" ∂
- -a ∂
- -o {Targ}
-
-
- FWSBP2DiskDriver ƒ ∂
- "{ExtensionsDir}FWSBP2DiskDriver"
-
-
- ################################################################################
- #
- # SBP Demo Application
- #
-
- "{ObjectsDir}SBP2DemoApp.c.o" ƒ ∂
- "{SBP2DemoAppDir}SBP2DemoApp.c" ∂
- "{SBP2DemoAppDir}SBP2DemoApp.h"
- {CPPC} ∂
- "{SBP2DemoAppDir}SBP2DemoApp.c" ∂
- -i "{FWInterfaces}" ∂
- -i "{SBP2Interfaces}" ∂
- -i "{SBP2DemoAppDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ApplicationsDir}SBP2DemoApp" ƒƒ ∂
- "{ObjectsDir}SBP2DemoApp.c.o" ∂
- "{SBP2DemoAppDir}SBP2DemoApp.exp"
- {LinkPPC} ∂
- -w ∂
- -@export "{SBP2DemoAppDir}SBP2DemoApp.exp" ∂
- -main SBP2DemoMain ∂
- "{ObjectsDir}SBP2DemoApp.c.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{LibsDir}SampleSBP2Family" ∂
- "{PPCLibraries}PPCCRuntime.o" ∂
- -o {Targ}
-
- "{ApplicationsDir}SBP2DemoApp" ƒƒ ∂
- "{SBP2DemoAppDir}SBP2DemoApp.rsrc" ∂
- "{SBP2RootDir}MakeFile"
- DeRez ∂
- "{SBP2DemoAppDir}SBP2DemoApp.rsrc" ∂
- > "{ObjectsDir}SBP2DemoApp.r"
- Rez ∂
- {RezOptions} ∂
- "{ObjectsDir}SBP2DemoApp.r" ∂
- -a ∂
- -o {Targ}
-
- SBP2DemoApp ƒ ∂
- "{ApplicationsDir}SBP2DemoApp"
-
-
- SBP2 ƒ ∂
- SampleSBP2Family ∂
- FWSBP2Driver ∂
- FWSBP2DiskDriver ∂
- SBP2DemoApp
-